package design.createModel.factory.factoryMethod.demo1;

public class Client {
    public static void main(String[] args) {
        CoffeeStore coffeeStore = new CoffeeStore();
        coffeeStore.setCoffeeFactory(new LatteCoffeeFactory());
        System.out.println("coffeeStore.orderCoffee().getName() = " + coffeeStore.orderCoffee().getName());
    }
}
